home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 11 - 1995 / 11.07 Jul 95 / Apple Guide Extensions / Context Check (CW) / contextCheck.h < prev   
Encoding:
C/C++ Source or Header  |  1995-03-06  |  1.1 KB  |  34 lines  |  [TEXT/MMCC]

  1. /**********************************************************************
  2.  
  3.      Real World Apple Guide
  4.      by Jesse Feiler
  5.  
  6.      Copyright © 1995 Philmont Software Mill. All Rights Reserved.
  7.      
  8.      ISBN 1-55851-429-5
  9.  
  10.      To order additional copies, call M&T Books, 1-800-488-5233
  11.      
  12.      For updates, check the bulletin board in the Philmont Software Mill
  13.      area on eWorld (shortcut "Philmont" or path "Computer Center : Straight to the 
  14.      Source : Philmont Software Mill").
  15.      
  16.      Send bug reports to ePhilmont@eWorld.com, or post to the bulletin
  17.      board in the Philmont Software Mill area on eWorld.
  18.  
  19. **********************************************************************/
  20.  
  21.  
  22. /*
  23. Define a struct with all of the parameters that you will pass to the
  24. context check. The order and number of these parameters should match the
  25. order, number, and type in the <Define Context Check> command.
  26. */
  27.  
  28. typedef    struct{
  29.     short    whichCompare;
  30.     OSType    signature;
  31.     short    majorRev;
  32.     short    minorRev; //note that we bring in 3 values; the 'vers' resource combines minorRev and bugRev
  33.     short    bugRev;
  34. }contextCheckData,*contextCheckDataPtr,**contextCheckDataHandle;